- it turns off verbose mode of the ACM module
- copies the test policy to the policies directory only if the directory
has been created
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
ACM_LABEL_RESOURCES = False
labeled_resources = {}
-acm_verbose = True
+acm_verbose = False
def isACMEnabled():
return security.on()
unsafe=no
GROUPENTERED=default
-cp -f tests/security-acm/xm-test-security_policy.xml /etc/xen/acm-security/policies
+if [ -d /etc/xen/acm-security/policies ]; then
+ cp -f tests/security-acm/xm-test-security_policy.xml \
+ /etc/xen/acm-security/policies
+fi
# Resolve options
while [ $# -gt 0 ]